<template>
    <el-card>
        <el-form :model="viewForm" label-width="120px" >
            <el-row>
                <el-col :span="12">
                    <el-form-item label="部门名称">
                        <el-input v-model="viewForm.name" placeholder="不能超过50个汉字" :disabled="true"></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <el-form-item label="部门编码">
                        <el-input v-model="viewForm.orgSerialNo" placeholder="系统自动生成" :disabled="true"></el-input>
                    </el-form-item>
                </el-col>
            </el-row>

            <el-row>
                <!-- <el-col :span="12">
                    <el-form-item label="上级部门">
                        <el-select placeholder="请选择" v-model="viewForm.parentSerialNo">
                            <el-option v-for="item in organizations" :key="item.orgSerialNo" :label="item.name" :value="item.orgSerialNo">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-col> -->
                <el-col :span="12">
                    <el-form-item label="排序">
                        <el-input v-model="viewForm.orderNo" :disabled="true"></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <el-form-item label="办公室电话">
                        <el-input v-model="viewForm.telephone" :disabled="true"></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <!-- <el-row>
                
            </el-row> -->
        </el-form>
    </el-card>
</template>

<script>
export default {
    props: [
        "viewForm"
    ]
}
</script>

